<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>
    <%= yield :title or 
        "#{controller.action_name} - #{controller.controller_name}" %>
    - Greene Hill Food Coop
  </title>
  <%= javascript_include_tag 'prototype' %>
  <%= stylesheet_link_tag 'scaffold', 'base' %>
</head>
<body>
<div id="container">

  <div id="header">
		<% if logged_in? %>
			<%= render :partial => 'layouts/admin_nav' %>
		<% end %>
  </div>

  <div id="flash"><%= flash[:notice] %></div>

  <div id="content">
    <%= yield  %>
  </div>
</div>
</body>
</html>
